home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <html><head><title>DefDate Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03101300"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
-
- p.P1{
- }
- p.P2{
- }
- span.T1{
- font-weight:bold;}
- </style></head><body>
-
-
- <help:to-be-embedded Eid="defdate" xmlns:help="http://openoffice.org/2000/help">
- <p class="Head1"><help:link Id="66591">DefDate Statement [Runtime]</help:link></p>
- <p class="Paragraph">Sets the default variable type, according to a letter range, if no type-declaration character or keyword was specified.</p>
- </help:to-be-embedded>
- <p class="Paragraph"><span class="T1">Syntax</span>:</p>
- <p class="Paragraph">Defxxx Characterrange1[, Characterrange2[,...]] <help:key-word value="DefDate" tag="kw66591_1" xmlns:help="http://openoffice.org/2000/help"/></p>
- <p class="Paragraph"><span class="T1">Parameter</span>:</p>
- <p class="Paragraph">Characterrange: Letters specifying the range of variables for which to set a default data type.</p>
- <p class="Paragraph">xxx: Keyword defining the default variable type:</p>
- <p class="P2">Keyword : Default variable type</p>
- <p class="Paragraph">DefDate : Date</p>
- <p class="P2">Example:</p>
- <p class="PropText"/>
- <p class="PropText">REM Prefix definitions for variable types:</p>
- <p class="PropText">DefBool b</p>
- <p class="PropText">DefDate t</p>
- <p class="PropText">DefDbL d</p>
- <p class="PropText">DefInt i</p>
- <p class="PropText">DefLng l</p>
- <p class="PropText">DefObj o</p>
- <p class="PropText">DefVar v</p>
- <p class="PropText"/>
- <p class="PropText">Sub ExampleDefDate</p>
- <p class="PropText">tDate=Date <text:s text:c="3" xmlns:text="http://openoffice.org/2000/text"/>REM tDate is an implicit date variable</p>
- <p class="PropText">end sub</p>
- </body></html>